package com.cheney.demo.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cheney.demo.mapper.TestNameMapper;
import com.cheney.demo.model.TestName;
import com.cheney.demo.service.TestNameService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author si.chen
 * @date 2021/6/30 16:02
 */
@Service
@DS(value = "slave_1")
@Transactional(rollbackFor = Exception.class)
public class TestNameServiceImpl extends ServiceImpl<TestNameMapper, TestName> implements TestNameService {
}
